
using System;

namespace ERP_RORZE_PERMISSION.Base.Objects
{
    [Serializable]
	public class Users
	{
			#region Members
			protected string userName;
			protected string password;
			protected int userGroupID;
			protected int departmentID;
			protected string staffID;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column UserName(nvarchar(20),not null)
			/// </summary>
			public string UserName
			{
				get { return userName; }
				set { userName = value; }
			}

			/// <summary>
			/// Property relating to database column Password(nvarchar(100),not null)
			/// </summary>
			public string Password
			{
				get { return password; }
				set { password = value; }
			}

			/// <summary>
			/// Property relating to database column UserGroupID(int,not null)
			/// </summary>
			public int UserGroupID
			{
				get { return userGroupID; }
				set { userGroupID = value; }
			}

			/// <summary>
			/// Property relating to database column DepartmentID(int,not null)
			/// </summary>
			public int DepartmentID
			{
				get { return departmentID; }
				set { departmentID = value; }
			}

			/// <summary>
			/// Property relating to database column StaffID(nvarchar(50),not null)
			/// </summary>
			public string StaffID
			{
				get { return staffID; }
				set { staffID = value; }
			}
			#endregion
	}
}
